package cn.tedu.csmall.order.client;

import cn.tedu.csmall.commons.restful.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("cart")
public interface CartClient {
    @PostMapping("/base/cart/delete")
    public JsonResult deleteCartByUserIdAndCommodity(
            @RequestParam("userId") String userId,
            @RequestParam("commodityCode") String commodityCode);

}
